home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / catD / hwgraph.legacy.z / hwgraph.legacy
Encoding:
Text File  |  2002-10-03  |  5.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. hhhhwwwwggggrrrraaaapppphhhh....lllleeeeggggaaaaccccyyyy((((DDDD3333XXXX))))                                        hhhhwwwwggggrrrraaaapppphhhh....lllleeeeggggaaaaccccyyyy((((DDDD3333XXXX))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _hhhh_wwww_gggg_rrrr_aaaa_pppp_hhhh_...._llll_eeee_gggg_aaaa_cccc_yyyy_:::: gio_hwgraph_lookup, io4_hwgraph_lookup,
  10.      vme_hwgraph_lookup - legacy device hardware support
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
  14.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////hhhhwwwwggggrrrraaaapppphhhh....hhhh>>>>
  15.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ddddddddiiii....hhhh>>>>
  16.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////iiiinnnnvvvveeeennnntttt....hhhh>>>>
  17.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ggggiiiioooobbbbuuuussss....hhhh>>>>
  18.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////EEEEVVVVEEEERRRREEEESSSSTTTT////iiiioooo4444....hhhh>>>>
  19.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////vvvvmmmmeeeerrrreeeegggg....hhhh>>>>
  20.  
  21.      ggggrrrraaaapppphhhh____eeeerrrrrrrroooorrrr____tttt
  22.      ggggiiiioooo____hhhhwwwwggggrrrraaaapppphhhh____llllooooooookkkkuuuupppp((((ccccaaaaddddddddrrrr____tttt _a_d_d_r,,,, vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt ****_r_e_t))));;;;
  23.  
  24.      ggggrrrraaaapppphhhh____eeeerrrrrrrroooorrrr____tttt
  25.      iiiioooo4444____hhhhwwwwggggrrrraaaapppphhhh____llllooooooookkkkuuuupppp((((uuuuiiiinnnntttt _s_l_o_t,,,, vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt ****_r_e_t))));;;;
  26.  
  27.      ggggrrrraaaapppphhhh____eeeerrrrrrrroooorrrr____tttt
  28.      vvvvmmmmeeee____hhhhwwwwggggrrrraaaapppphhhh____llllooooooookkkkuuuupppp((((uuuuiiiinnnntttt _a_d_a_p_t_e_r,,,, vvvveeeerrrrtttteeeexxxx____hhhhddddllll____tttt ****_r_e_t))));;;;
  29.  
  30.    AAAArrrrgggguuuummmmeeeennnnttttssss
  31.      _a_d_d_r        The memory address of the device (used to determine the GIO
  32.                  slot).
  33.  
  34.      _a_d_a_p_t_e_r     The VME adapter number of the VME bus to which the device is
  35.                  attached.
  36.  
  37.      _s_l_o_t        An IO4 slot number.
  38.  
  39.      _r_e_t         A vertex representing the desired bus.
  40.  
  41. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  42.      These functions provide rudimentary hardware graph support for legacy
  43.      devices which use the GIO, HIO, or VME busses.  Devices using newer
  44.      busses, such as PCI or XTALK should use the facilities that support the
  45.      appropriate bus.
  46.  
  47.      The routines described herein are provided to allow older devices to
  48.      appear in the hardware graph file system.
  49.  
  50.      gio_hwgraph_lookup
  51.           This routine returns a vertex for the GIO bus slot the device is
  52.           using.  _a_d_d_r represents a memory address for the device; this is
  53.           normally the _e__b_a_s_e address from the _e_d_t structure.
  54.  
  55.      io4_hwgraph_lookup
  56.           This routine returns a vertex for the IO4 to which the device is
  57.           attached.  _s_l_o_t represents an EBUS slot.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. hhhhwwwwggggrrrraaaapppphhhh....lllleeeeggggaaaaccccyyyy((((DDDD3333XXXX))))                                        hhhhwwwwggggrrrraaaapppphhhh....lllleeeeggggaaaaccccyyyy((((DDDD3333XXXX))))
  71.  
  72.  
  73.  
  74.      vme_hwgraph_lookup
  75.           This routine returns a vertex for the VME bus the device is using.
  76.           _a_d_a_p_t_e_r represents a VME adapter number for the device; this is
  77.           normally the _e__a_d_a_p value from the _e_d_t structure.
  78.  
  79. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  80.      These routines return GRAPH_SUCCESS if successful.  Otherwise, the
  81.      following diagnostic can be returned:
  82.  
  83.      GRAPH_NOT_FOUND
  84.           No node was found for the desired bus entry.
  85.  
  86. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  87.      hinv(1), ioconfig(1), getinvent(3), hwgraph.dev(D3X), hwgraph.intro(D4X).
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.